# -*- coding: utf-8 -*-
"""
Created on Fri Mar 14 22:27:55 2014

@author: nicolas
"""
import pickle
import subprocess

def readobject(filename):
    with open(filename, 'rb') as infile:
        return pickle.load(infile)

data=readobject('resultlog.pk')
plot(data)
plot(correlate(data, data, mode='full'))